package la.renzhen.rtpt.demo;

import la.renzhen.rtpt.EnableConfigurationRegistrar;
import org.springframework.boot.Banner;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.context.annotation.ComponentScan;

/**
 * <p>
 *
 * @author <a href="mailto:zhouhaichao@2008.sina.com">haiker</a>
 * @version 09/05/2018 2:43 PM
 */
@SpringBootApplication
@ComponentScan
@EnableConfigurationRegistrar
public class ClientApplication {

    public static void main(String[] args) {
        new SpringApplicationBuilder()
                .bannerMode(Banner.Mode.OFF)
                .sources(ClientApplication.class)
                .run(args);
    }
}
